function loadPage()
{
	var stage = new Kinetic.Stage({
        container: 'workspace',
        width: 600,
        height: 500
    });

    var text = new UILabel("label");
    var img = new UIImage("image");
  
	var layer = text.getLayer();
    stage.add(layer);
    var layer2 = img.getLayer();
    stage.add(layer2);

    var f = function(sender)
    {
        alert(sender.GetProperty("ID"));
    }

    img.AddEventHandler("click", f);
}